package com.itic.mall.mobile.pay;

import com.itic.mall.appbase.framework.vo.PayVO;
import com.itic.mall.system.pay.service.PayService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

@RestController
public class PayInterface {

    @Autowired
    private PayService payService;

    @GetMapping(value = "consume/pay/list")
    public List<PayVO> findList(){
        List<PayVO> payVOS = payService.findAll();
        return payVOS;
    }

}
